# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

TESTS_DIR = ../../..

CLANG_OPTIONS = -c
INFER_OPTIONS = \
  --pulse-only --debug-exceptions --project-root $(TESTS_DIR) \
  --pulse-report-issues-for-tests --no-pulse-force-continue \
  --pulse-experimental-infinite-loop-checker \
  --pulse-report-issues-reachable-from entry_point \
  --pulse-taint-config .infertaintconfig \
  --pulse-transitive-access-config transitive-access.conf \
  --jobs 1 \

INFERPRINT_OPTIONS = --issues-tests

SOURCES = $(wildcard *.c */*.c)

include $(TESTS_DIR)/clang.make

infer-out$(TEST_SUFFIX)/report.json: .inferconfig
